<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

/**
 * App\CouponJob
 *
 * @property int $id
 * @property int|null $coupon_id
 * @property string|null $type
 * @property string|null $extend_data
 * @property int|null $status 0 发放中 1 发放完成
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CouponJob whereCouponId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CouponJob whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CouponJob whereExtendData($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CouponJob whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CouponJob whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CouponJob whereType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CouponJob whereUpdatedAt($value)
 * @mixin \Eloquent
 */
class CouponJob extends Model
{
    protected $table='coupon_job';
    const ALL='all';
    static $typeMap=[
        self::ALL=>'所有人'
    ];
}
